<script setup>
const props = defineProps(['title'])
</script>

<template>
  <div class="title">
    <div class="tag"></div>
    <div class="name">
      {{ title || '?' }}
    </div>
  </div>
</template>

<style scoped lang="scss">
.title {
  display: flex;
  justify-content: flex-start;
  align-items: center;

  .tag {
    width: 3px;
    height: 13.5px;
    border-radius: 1.5px;
    background: #E84838;
  }

  .name {
    margin-left: 8px;
    height: 21px;
    color: rgba(29, 33, 50, 1);
    font-family: PingFangSC-Medium;
    font-weight: 450;
    font-size: 15px;
    line-height: 21px;
  }
}
</style>